﻿using System;
using System.Collections.Generic;

using System.Text;

namespace RebellionII.GameObjects.Other
{
    public enum MessageType
    {
        PopularSupport,
        Fleet,
        Missions,
        Conflict,
        Manufacturing,
        Resources,
        Defense,
        Advice
    };

    public class Message
    {
        string sTitle, sMessage, sTexture;

        public string Texture
        {
            get { return sTexture; }
            set { sTexture = value; }
        }

        public string Text
        {
            get { return sMessage; }
            set { sMessage = value; }
        }

        public string Title
        {
            get { return sTitle; }
            set { sTitle = value; }
        }
        bool bIsRead;

        public bool IsRead
        {
            get { return bIsRead; }
            set { bIsRead = value; }
        }

        MessageType eType;

        public MessageType Type
        {
            get { return eType; }
            set { eType = value; }
        }


        public Message(string title, string message, string texture, MessageType type)
        {
            sTitle = title;
            sMessage = message;
            sTexture = texture;
            bIsRead = false;
            eType = type;
        }

        public Message()
        {

        }
    }
}
